package com.goldcn.picture.service;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import com.goldcn.common.CommonTools;
import com.goldcn.common.util.CommonUtils;
import com.goldcn.common.util.IdGen;
import com.goldcn.enumeration.ErrorCodeEnum;
import com.goldcn.goods.dto.PageInfo;
import com.goldcn.picture.dao.PicSeriesMapper;
import com.goldcn.picture.dao.PicStorageDetailMapper;
import com.goldcn.picture.dao.PicStorageMapper;
import com.goldcn.picture.dto.PicStorageDto;
import com.goldcn.picture.model.PicSeries;
import com.goldcn.picture.model.PicStorage;
import com.goldcn.picture.model.PicStorageDetail;
import com.goldcn.picture.vo.PicAuditVo;
import com.goldcn.picture.vo.PicStorageVo;
import com.goldcn.picture.vo.StorageByUserVo;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.math.BigDecimal;
import java.util.List;

@Service
@Transactional
public class PicSeriesService {

    @Autowired
    PicSeriesMapper picSeriesMapper;


    /**
     * 根据父节点查询系列数据
     * @param id
     * @return
     */
    public List<PicSeries> selectByParentId(Long id){
        return picSeriesMapper.selectByParentId(id);
    }





}
